package com.edu.springboot.service.impl;

import com.edu.springboot.bean.Books;
import com.edu.springboot.mapper.BookMapper;
import com.edu.springboot.service.BookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BookServiceImpl implements BookService {

     @Autowired
    private BookMapper bookMapper;

    @Override
    public List<Books> selectAll() {
        return bookMapper.selectAll();
    }
}
